public interface InjectableElement
Modifier and Type | Method and Description |
---|---|
AnnotatedElement |
getAnnotatedElement() |
Object |
getDefaultValue() |
String |
getName() |
String |
getSource() |
Type |
getType() |
String |
getVia() |
Class<? extends org.apache.sling.models.annotations.ViaProviderType> |
getViaProviderType() |
boolean |
hasDefaultValue() |
boolean |
isOptional(org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor annotationProcessor) |
boolean |
isPrimitive() |
AnnotatedElement getAnnotatedElement()
Type getType()
boolean isPrimitive()
String getName()
String getSource()
String getVia()
Class<? extends org.apache.sling.models.annotations.ViaProviderType> getViaProviderType()
boolean hasDefaultValue()
Object getDefaultValue()
boolean isOptional(org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor annotationProcessor)
true
if the element is optional otherwise false
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.