public final class JavaMethod extends Method
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaMethod.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
QUALIFIER |
static int |
UNKNOWN_LINE |
QUALIFIER_CLASS, QUALIFIER_DIRECTORY, QUALIFIER_FIELD, QUALIFIER_FILE, QUALIFIER_LIB, QUALIFIER_METHOD, QUALIFIER_MODULE, QUALIFIER_PACKAGE, QUALIFIER_PROJECT, QUALIFIER_SUBVIEW, QUALIFIER_UNIT_TEST_CLASS, QUALIFIER_VIEW, SCOPE_ENTITY, SCOPE_SET, SCOPE_SPACE| Modifier and Type | Method and Description |
|---|---|
static JavaMethod |
createRef(JavaClass javaClass,
String signature) |
static JavaMethod |
createRef(String key) |
String |
getClassName() |
String |
getDescription() |
int |
getFromLine() |
String |
getLongName() |
String |
getName() |
Resource |
getParent() |
String |
getSignature() |
int |
getToLine() |
boolean |
isAccessor() |
String |
toString() |
createMethod, equals, getLanguage, getQualifier, getScope, hashCode, matchFilePatterngetEffectiveKey, getId, getKey, isExcluded, setEffectiveKey, setExcluded, setId, setKeypublic static final String QUALIFIER
public static final int UNKNOWN_LINE
public int getFromLine()
public int getToLine()
public String getSignature()
public String getClassName()
public boolean isAccessor()
public String getLongName()
getLongName in class Methodpublic String getDescription()
getDescription in class Methodpublic static JavaMethod createRef(String key)
public static JavaMethod createRef(JavaClass javaClass, String signature)
Copyright © 2009-2012 SonarSource. All Rights Reserved.