Skip to content

Commit ef1d08e

Browse files
committed
Annotated*Collector Method predicates are static
1 parent cdf4cb3 commit ef1d08e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/fasterxml/jackson/databind/introspect/AnnotatedCreatorCollector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ private List<AnnotatedMethod> _findPotentialFactories(JavaType type, Class<?> pr
274274
return result;
275275
}
276276

277-
private boolean _isIncludableFactoryMethod(Method m)
277+
private static boolean _isIncludableFactoryMethod(Method m)
278278
{
279279
return Modifier.isStatic(m.getModifiers())
280280
// 09-Nov-2020, ckozak: Avoid considering synthetic methods such as

src/main/java/com/fasterxml/jackson/databind/introspect/AnnotatedMethodCollector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected void _addMethodMixIns(TypeResolutionContext tc, Class<?> targetClass,
174174
}
175175
}
176176

177-
private boolean _isIncludableMemberMethod(Method m)
177+
private static boolean _isIncludableMemberMethod(Method m)
178178
{
179179
if (Modifier.isStatic(m.getModifiers())
180180
// Looks like generics can introduce hidden bridge and/or synthetic methods.

0 commit comments

Comments
 (0)