Constructor and Description |
---|
MethodDefinition(List<Modifier> modifiers,
String returnType,
String name,
List<Field> parameters,
List<String> throwsExceptions,
List<Annotation> annotations,
String body) |
MethodDefinition(String returnType,
String name,
List<Field> parameters,
List<Annotation> annotations,
String body) |
MethodDefinition(String returnType,
String name,
List<Field> parameters,
String body) |
Modifier and Type | Method and Description |
---|---|
static MethodDefinition |
createConstructor(String name,
List<Field> parameters,
String body) |
List<Annotation> |
getAnnotations() |
Optional<String> |
getBody() |
String |
getJavadoc() |
List<Modifier> |
getModifiers() |
String |
getName() |
List<Field> |
getParameters() |
String |
getReturnType() |
List<String> |
getThrowsExceptions() |
Optional<Modifier> |
getVisibility() |
void |
setJavadoc(String javadoc) |
String |
toString() |
public MethodDefinition(String returnType, String name, List<Field> parameters, String body)
public MethodDefinition(String returnType, String name, List<Field> parameters, List<Annotation> annotations, String body)
public static MethodDefinition createConstructor(String name, List<Field> parameters, String body)
public List<Annotation> getAnnotations()
getAnnotations
in interface Method
public String getJavadoc()
getJavadoc
in interface Method
public void setJavadoc(String javadoc)
public Optional<Modifier> getVisibility()
getVisibility
in interface Method
public String getReturnType()
getReturnType
in interface Method
public List<Field> getParameters()
getParameters
in interface Method
public List<String> getThrowsExceptions()
getThrowsExceptions
in interface Method
public List<Modifier> getModifiers()
getModifiers
in interface Method
Copyright © 2019 OpenDaylight. All rights reserved.