@Override protected boolean isRelevantClass(MetaClass clazz) { for (final Annotation anno : clazz.getAnnotations()) { if (anno.annotationType().equals(Remote.class) || anno.annotationType().equals(FeatureInterceptor.class) || anno.annotationType().equals(InterceptsRemoteCall.class)) { return true; } } return false; }
protected static boolean hasStartupAnnotation(final MetaClass injectedType) { for (final Annotation anno : injectedType.getAnnotations()) { if (anno.annotationType().getName().equals("javax.ejb.Startup")) { return true; } } return false; }
@Override protected boolean isRelevantClass(final MetaClass clazz) { for (final Annotation anno : clazz.getAnnotations()) { if (anno.annotationType().equals(Bindable.class) || anno.annotationType().equals(DefaultConverter.class)) { return true; } } return false; } }
@Override protected boolean isRelevantClass(final MetaClass clazz) { for (final Annotation anno : clazz.getAnnotations()) { if (anno.annotationType().equals(Bindable.class) || anno.annotationType().equals(DefaultConverter.class)) { return true; } } return false; } }
@Override protected boolean isRelevantClass(MetaClass clazz) { for (final Annotation anno : clazz.getAnnotations()) { if (anno.annotationType().equals(Remote.class) || anno.annotationType().equals(FeatureInterceptor.class) || anno.annotationType().equals(InterceptsRemoteCall.class)) { return true; } } return false; }
@Override protected boolean isRelevantClass(MetaClass clazz) { for (final Annotation anno : clazz.getAnnotations()) { if (anno.annotationType().equals(Path.class) || anno.annotationType().equals(FeatureInterceptor.class) || anno.annotationType().equals(InterceptsRemoteCall.class) || anno.annotationType().equals(Provider.class)) { return true; } } return false; } }
private boolean isSimpleton(final MetaClass type) { for (final Annotation anno : type.getAnnotations()) { if (nonSimpletonTypeAnnotations.contains(anno.annotationType()) || isStereotype(anno)
.publicOverridesMethod("getTypeAnnotations") .append( Stmt.load(filter(method.getDeclaringClass().getAnnotations(), translatablePackages)).returnValue()) .finish() .publicOverridesMethod("proceed")
.publicOverridesMethod("getTypeAnnotations") .append( Stmt.load(filter(method.getDeclaringClass().getAnnotations(), translatablePackages)).returnValue()) .finish() .publicOverridesMethod("proceed")