Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Konyx committed Jan 6, 2025
1 parent c58ad1b commit 90e0f11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public ObjectType(EntityProcessor entityProcessor, TypeMeta meta) {
protected void processFields(String typeName, Builder graphType, graphql.schema.GraphQLInterfaceType.Builder interfaceBuilder)
throws ReflectiveOperationException {
var type = meta.getType();

for (Method method : type.getMethods()) {
try {
var name = EntityUtil.getter(method);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ private void processGeneric(TypeMeta target, TypeVariable type, AnnotatedElement
if (owningClass instanceof Class) {
findType(target, type, (Class) owningClass, element);
} else if (owningClass instanceof ParameterizedType) {
if (element instanceof Method) {
var declaringClass = ((Method) element).getDeclaringClass();
if (element instanceof Member) {
var declaringClass = ((Member) element).getDeclaringClass();
if (declaringClass.equals(target.type)) {
findType(target, type, target.type, element);
return;
Expand Down

0 comments on commit 90e0f11

Please sign in to comment.