public class DefaultImplementingTypeAnnotation extends Object implements TypeAnnotation
Type
that will be instantiated for this ObjectFieldType
if no instance is provided as a value.Constructor and Description |
---|
DefaultImplementingTypeAnnotation(MetadataType defaultType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
MetadataType |
getDefaultType() |
String |
getName()
A name of the annotation
|
int |
hashCode() |
boolean |
isPublic()
Returns whether this annotation is public or not.
|
public static final String NAME
public DefaultImplementingTypeAnnotation(MetadataType defaultType)
public MetadataType getDefaultType()
MetadataType
to be used when creating the default instance for
the associated ObjectFieldType
public String getName()
TypeAnnotation
getName
in interface TypeAnnotation
public boolean isPublic()
TypeAnnotation
Non public annotations will however always be available through MetadataType.getAnnotation(Class)
and all related methods.
isPublic
in interface TypeAnnotation
Copyright © 2018. All rights reserved.