For IntelliJ IDEA,
Android Studio or Eclipse



@Override public boolean isDefaultValue() { return !isConstructor() && !isStatic() && getReturnType().asErasure().isAnnotationReturnType() && getParameters().isEmpty(); }
private static boolean isAccessor(MethodDescription method) { if (method.getDeclaringType().represents(Object.class)) { return false; } String methodName = method.getName(); Generic returnType = method.getReturnType(); ParameterList<?> args = method.getParameters(); boolean isSetter = Generic.VOID.equals(returnType) && args.size() == 1 && ReflectTools.isSetterName(methodName); boolean isGetter = !Generic.VOID.equals(returnType) && args.isEmpty() && ReflectTools.isGetterName(methodName, returnType.represents(boolean.class)); return isSetter || isGetter; }
@Override public void injectStartFrame(MethodVisitor methodVisitor) { if (!instrumentedMethod.isStatic() || !instrumentedMethod.getParameters().isEmpty()) { if (!expandFrames && (instrumentedMethod.isStatic() ? 0 : 1) + instrumentedMethod.getParameters().size() < 4) { Object[] localVariable = new Object[(instrumentedMethod.isStatic() ? 0 : 1) + instrumentedMethod.getParameters().size()];
@Override public boolean isDefaultValue() { return !isConstructor() && !isStatic() && getReturnType().asErasure().isAnnotationReturnType() && getParameters().isEmpty(); }
@Override public boolean isDefaultValue() { return !isConstructor() && !isStatic() && getReturnType().asErasure().isAnnotationReturnType() && getParameters().isEmpty(); }
@Override public boolean isDefaultValue() { return !isConstructor() && !isStatic() && getReturnType().asErasure().isAnnotationReturnType() && getParameters().isEmpty(); }
@Override public boolean isDefaultValue() { return !isConstructor() && !isStatic() && getReturnType().asErasure().isAnnotationReturnType() && getParameters().isEmpty(); }
private static boolean isAccessor(MethodDescription method) { if (method.getDeclaringType().represents(Object.class)) { return false; } String methodName = method.getName(); Generic returnType = method.getReturnType(); ParameterList<?> args = method.getParameters(); boolean isSetter = Generic.VOID.equals(returnType) && args.size() == 1 && ReflectTools.isSetterName(methodName); boolean isGetter = !Generic.VOID.equals(returnType) && args.isEmpty() && ReflectTools.isGetterName(methodName, returnType.represents(boolean.class)); return isSetter || isGetter; }