public interface TypeMemberBuilder<T extends TypeMemberBuilder<T>> extends AnnotableTypeBuilder
Modifier and Type | Method and Description |
---|---|
AccessModifier |
getAccessModifier() |
String |
getName()
Returns the name of property.
|
T |
setAccessModifier(AccessModifier modifier)
Sets the access modifier of property.
|
T |
setComment(String comment)
Adds String definition of comment into Method Signature definition.
|
T |
setFinal(boolean isFinal)
Sets the flag final for method signature.
|
T |
setReturnType(Type returnType)
Adds return Type into Builder definition for Generated Property.
|
T |
setStatic(boolean isStatic) |
addAnnotation, addAnnotation
String getName()
T setReturnType(Type returnType)
null
,
otherwise the method SHOULD throw IllegalArgumentException
returnType
- Return Type of property.AccessModifier getAccessModifier()
T setAccessModifier(AccessModifier modifier)
modifier
- Access Modifier value.T setComment(String comment)
comment
- Comment String.T setFinal(boolean isFinal)
isFinal
- Is FinalT setStatic(boolean isStatic)
Copyright © 2019 OpenDaylight. All rights reserved.