Class JAnnotation
- java.lang.Object
-
- net.morimekta.providence.generator.format.java.utils.JAnnotation
-
public class JAnnotation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEPRECATED
static java.lang.String
NON_NULL
static java.lang.String
NULLABLE
static java.lang.String
OVERRIDE
static java.lang.String
SUPPRESS_WARNINGS_UNCHECKED
static java.lang.String
SUPPRESS_WARNINGS_UNUSED
-
Constructor Summary
Constructors Constructor Description JAnnotation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.morimekta.providence.descriptor.PContainer.Type
containerType(net.morimekta.providence.reflect.contained.CAnnotatedDescriptor descriptor)
static boolean
isDeprecated(net.morimekta.providence.descriptor.PDescriptor descriptor)
static boolean
isDeprecated(JField field)
static boolean
isDeprecated(net.morimekta.providence.reflect.contained.CAnnotatedDescriptor value)
-
-
-
Field Detail
-
DEPRECATED
public static final java.lang.String DEPRECATED
- See Also:
- Constant Field Values
-
OVERRIDE
public static final java.lang.String OVERRIDE
- See Also:
- Constant Field Values
-
NON_NULL
public static final java.lang.String NON_NULL
- See Also:
- Constant Field Values
-
NULLABLE
public static final java.lang.String NULLABLE
- See Also:
- Constant Field Values
-
SUPPRESS_WARNINGS_UNCHECKED
public static final java.lang.String SUPPRESS_WARNINGS_UNCHECKED
- See Also:
- Constant Field Values
-
SUPPRESS_WARNINGS_UNUSED
public static final java.lang.String SUPPRESS_WARNINGS_UNUSED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDeprecated
public static boolean isDeprecated(JField field)
-
isDeprecated
public static boolean isDeprecated(net.morimekta.providence.reflect.contained.CAnnotatedDescriptor value)
-
isDeprecated
public static boolean isDeprecated(net.morimekta.providence.descriptor.PDescriptor descriptor)
-
containerType
public static net.morimekta.providence.descriptor.PContainer.Type containerType(net.morimekta.providence.reflect.contained.CAnnotatedDescriptor descriptor)
-
-