public class ParameterImpl<O extends JavaSource<O>> extends Object implements ParameterSource<O>
| Constructor and Description |
|---|
ParameterImpl(O parent,
Object internal) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationSource<O> |
addAnnotation() |
AnnotationSource<O> |
addAnnotation(Class<? extends Annotation> clazz) |
AnnotationSource<O> |
addAnnotation(String className) |
AnnotationSource<O> |
getAnnotation(Class<? extends Annotation> type) |
AnnotationSource<O> |
getAnnotation(String type) |
List<AnnotationSource<O>> |
getAnnotations() |
Object |
getInternal() |
String |
getName() |
O |
getOrigin() |
Type<O> |
getType() |
boolean |
hasAnnotation(Class<? extends Annotation> type) |
boolean |
hasAnnotation(String type) |
boolean |
isFinal() |
boolean |
isVarArgs() |
void |
removeAllAnnotations() |
ParameterSource<O> |
removeAnnotation(Annotation<O> annotation) |
ParameterSource<O> |
setFinal(boolean finl) |
ParameterSource<O> |
setVarArgs(boolean variableArity) |
String |
toString() |
public String getName()
getName in interface Parameter<O extends JavaSource<O>>public Type<O> getType()
getType in interface Parameter<O extends JavaSource<O>>public AnnotationSource<O> addAnnotation()
addAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public AnnotationSource<O> addAnnotation(Class<? extends Annotation> clazz)
addAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public AnnotationSource<O> addAnnotation(String className)
addAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public List<AnnotationSource<O>> getAnnotations()
getAnnotations in interface AnnotationTarget<O extends JavaSource<O>>getAnnotations in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public boolean hasAnnotation(Class<? extends Annotation> type)
hasAnnotation in interface AnnotationTarget<O extends JavaSource<O>>public boolean hasAnnotation(String type)
hasAnnotation in interface AnnotationTarget<O extends JavaSource<O>>public AnnotationSource<O> getAnnotation(Class<? extends Annotation> type)
getAnnotation in interface AnnotationTarget<O extends JavaSource<O>>getAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public AnnotationSource<O> getAnnotation(String type)
getAnnotation in interface AnnotationTarget<O extends JavaSource<O>>getAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public ParameterSource<O> removeAnnotation(Annotation<O> annotation)
removeAnnotation in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public void removeAllAnnotations()
removeAllAnnotations in interface AnnotationTargetSource<O extends JavaSource<O>,ParameterSource<O extends JavaSource<O>>>public boolean isFinal()
isFinal in interface FinalCapablepublic ParameterSource<O> setFinal(boolean finl)
setFinal in interface FinalCapableSource<ParameterSource<O extends JavaSource<O>>>public ParameterSource<O> setVarArgs(boolean variableArity)
setVarArgs in interface ParameterSource<O extends JavaSource<O>>public boolean isVarArgs()
isVarArgs in interface Parameter<O extends JavaSource<O>>public Object getInternal()
getInternal in interface InternalCopyright © 2017 JBoss by Red Hat. All rights reserved.