Interface IJMethod
-
- All Known Implementing Classes:
JMethod
public interface IJMethod
TODO: Common IJMember for Method and Field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends IJAnnotation>
annotations()
String
body()
Code of the method as a string.boolean
isStatic()
String
methodAnnotation()
String
name()
The name of the method.String
parameters()
The flattened parameter list as a string.String
returnType()
The name of the return type of this method.String
staticModifier()
The static modifier.String
throwsType()
The throw statement.String
visibilityModifier()
The visibility modifier of this method.
-
-
-
Method Detail
-
returnType
String returnType()
The name of the return type of this method. Default value is VOID.
-
name
String name()
The name of the method.
-
parameters
String parameters()
The flattened parameter list as a string.
-
throwsType
String throwsType()
The throw statement.
-
body
String body()
Code of the method as a string. If not set, the method will be treated as abstract.
-
visibilityModifier
String visibilityModifier()
The visibility modifier of this method. Default value is PUBLIC.
-
staticModifier
String staticModifier()
The static modifier. TODO: Move up.
-
isStatic
boolean isStatic()
-
annotations
Collection<? extends IJAnnotation> annotations()
-
methodAnnotation
String methodAnnotation()
-
-