Class IgnoreHelper
- java.lang.Object
-
- io.smallrye.graphql.schema.helper.IgnoreHelper
-
public class IgnoreHelper extends Object
Helping to figure out if we should ignore a field. Looking for the @Ignore and other relevant annotations.- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanshouldIgnore(Annotations annotations)See if we should ignore this.static booleanshouldIgnore(Annotations annotations, org.jboss.jandex.FieldInfo fieldInfo)See if we should ignore this.
-
-
-
Method Detail
-
shouldIgnore
public static boolean shouldIgnore(Annotations annotations)
See if we should ignore this.- Parameters:
annotations- annotations- Returns:
- true if we should.
-
shouldIgnore
public static boolean shouldIgnore(Annotations annotations, org.jboss.jandex.FieldInfo fieldInfo)
See if we should ignore this.- Parameters:
annotations- annotationsfieldInfo- field info (if any)- Returns:
- true if we should.
-
-