Interface IJMethod
- All Known Implementing Classes:
JMethod
public interface IJMethod
TODO: Common IJMember for Method and Field.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends IJAnnotation>
body()
Code of the method as a string.boolean
isStatic()
name()
The name of the method.The flattened parameter list as a string.The name of the return type of this method.The static modifier.The throw statement.The visibility modifier of this method.
-
Method Details
-
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()
-