public void scan(Object cls) { String className = getMetadataAdapter().getClassName(cls); if (!acceptResult(className)) return; getStore().put(className, ""); if (includeFields) { for (Object field : getMetadataAdapter().getFields(cls)) { String fieldName = getMetadataAdapter().getFieldName(field); getStore().put(className, fieldName); } } if (includeMethods) { for (Object method : getMetadataAdapter().getMethods(cls)) { if (!publicOnly || getMetadataAdapter().isPublic(method)) { String methodKey = getMetadataAdapter().getMethodName(method) + "(" + Joiner.on(", ").join(getMetadataAdapter().getParameterNames(method)) + ")"; getStore().put(className, methodKey); } } } if (includeAnnotations) { for (Object annotation : getMetadataAdapter().getClassAnnotationNames(cls)) { getStore().put(className, "@" + annotation); } } }
public void scan(Object cls) { String className = getMetadataAdapter().getClassName(cls); if (!acceptResult(className)) return; getStore().put(className, ""); if (includeFields) { for (Object field : getMetadataAdapter().getFields(cls)) { String fieldName = getMetadataAdapter().getFieldName(field); getStore().put(className, fieldName); } } if (includeMethods) { for (Object method : getMetadataAdapter().getMethods(cls)) { if (!publicOnly || getMetadataAdapter().isPublic(method)) { String methodKey = getMetadataAdapter().getMethodName(method) + "(" + Joiner.on(", ").join(getMetadataAdapter().getParameterNames(method)) + ")"; getStore().put(className, methodKey); } } } if (includeAnnotations) { for (Object annotation : getMetadataAdapter().getClassAnnotationNames(cls)) { getStore().put(className, "@" + annotation); } } }
public void scan(Object cls) { String className = getMetadataAdapter().getClassName(cls); if (!acceptResult(className)) return; getStore().put(className, ""); if (includeFields) { for (Object field : getMetadataAdapter().getFields(cls)) { String fieldName = getMetadataAdapter().getFieldName(field); getStore().put(className, fieldName); } } if (includeMethods) { for (Object method : getMetadataAdapter().getMethods(cls)) { if (!publicOnly || getMetadataAdapter().isPublic(method)) { String methodKey = getMetadataAdapter().getMethodName(method) + "(" + Joiner.on(", ").join(getMetadataAdapter().getParameterNames(method)) + ")"; getStore().put(className, methodKey); } } } if (includeAnnotations) { for (Object annotation : getMetadataAdapter().getClassAnnotationNames(cls)) { getStore().put(className, "@" + annotation); } } }
public void scan(Object cls) { String className = getMetadataAdapter().getClassName(cls); if (!acceptResult(className)) return; getStore().put(className, ""); if (includeFields) { for (Object field : getMetadataAdapter().getFields(cls)) { String fieldName = getMetadataAdapter().getFieldName(field); getStore().put(className, fieldName); } } if (includeMethods) { for (Object method : getMetadataAdapter().getMethods(cls)) { if (!publicOnly || getMetadataAdapter().isPublic(method)) { String methodKey = getMetadataAdapter().getMethodName(method) + "(" + Joiner.on(", ").join(getMetadataAdapter().getParameterNames(method)) + ")"; getStore().put(className, methodKey); } } } if (includeAnnotations) { for (Object annotation : getMetadataAdapter().getClassAnnotationNames(cls)) { getStore().put(className, "@" + annotation); } } }
public void scan(Object cls) { String className = getMetadataAdapter().getClassName(cls); if (! acceptResult(className)) return; getStore().put(className , ""); if (includeFields) { for (Object field : getMetadataAdapter().getFields(cls)) { String fieldName = getMetadataAdapter().getFieldName(field); getStore().put(className , fieldName); } } if (includeMethods) { for (Object method : getMetadataAdapter().getMethods(cls)) { if (! publicOnly || getMetadataAdapter().isPublic(method)) { String methodKey = getMetadataAdapter().getMethodName(method) + "(" + Joiner.on(", ").join(getMetadataAdapter().getParameterNames(method)) + ")"; getStore().put(className , methodKey); } } } if (includeAnnotations) { for (Object annotation : getMetadataAdapter().getClassAnnotationNames(cls)) { getStore().put(className , "@" + annotation); } } }