use of org.eclipse.persistence.jaxb.javamodel.JavaMethod in project eclipselink by eclipse-ee4j.
the class JavaClassImpl method getDeclaredMethods.
@Override
public Collection<JavaMethod> getDeclaredMethods() {
ArrayList<JavaMethod> methodCollection = new ArrayList<>();
Method[] methods = jClass.getDeclaredMethods();
for (Method method : methods) {
methodCollection.add(getJavaMethod(method));
}
return methodCollection;
}
use of org.eclipse.persistence.jaxb.javamodel.JavaMethod in project eclipselink by eclipse-ee4j.
the class JavaClassImpl method getMethods.
@Override
public Collection<JavaMethod> getMethods() {
ArrayList<JavaMethod> methodCollection = new ArrayList<>();
Method[] methods = PrivilegedAccessHelper.getMethods(jClass);
for (Method method : methods) {
methodCollection.add(getJavaMethod(method));
}
return methodCollection;
}
Aggregations