public class MethodAnalysis
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodAnalysis.Parameter |
static class |
MethodAnalysis.Return |
Constructor and Description |
---|
MethodAnalysis() |
Modifier and Type | Method and Description |
---|---|
static javax.lang.model.element.Modifier[] |
getModifiers(com.ensoftcorp.atlas.core.db.graph.Node method) |
static java.lang.String |
getName(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns the name of the given method
|
static com.ensoftcorp.atlas.core.db.graph.Node |
getOwnerClass(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns the class that owns the given method
|
static MethodAnalysis.Parameter[] |
getParameters(com.ensoftcorp.atlas.core.db.graph.Node method) |
static MethodAnalysis.Return |
getReturnType(com.ensoftcorp.atlas.core.db.graph.Node method) |
static boolean |
isFinal(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns true if the given method is marked final
|
static boolean |
isPrivate(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns true if the given method is marked private
|
static boolean |
isProtected(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns true if the given method is marked protected
|
static boolean |
isPublic(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns true if the given method is marked public
|
static boolean |
isStatic(com.ensoftcorp.atlas.core.db.graph.Node method)
Returns true if the given method is marked static
|
public static com.ensoftcorp.atlas.core.db.graph.Node getOwnerClass(com.ensoftcorp.atlas.core.db.graph.Node method)
method
- public static boolean isFinal(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static boolean isPublic(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static boolean isProtected(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static boolean isPrivate(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static boolean isStatic(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static java.lang.String getName(com.ensoftcorp.atlas.core.db.graph.Node method)
clazz
- public static javax.lang.model.element.Modifier[] getModifiers(com.ensoftcorp.atlas.core.db.graph.Node method)
public static MethodAnalysis.Parameter[] getParameters(com.ensoftcorp.atlas.core.db.graph.Node method)
public static MethodAnalysis.Return getReturnType(com.ensoftcorp.atlas.core.db.graph.Node method)