public class FieldDeclaration extends IdDeclaration
id
Constructor and Description |
---|
FieldDeclaration(java.lang.String id,
Workspace workspace,
Project project,
SourceElement element,
java.lang.String fqClassName,
java.lang.String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
java.lang.String |
getClassName()
Get the fully qualified name of the class containing this method.
|
int |
getEndOffset()
Get the end offset of the declaration in the source file.
|
java.lang.String |
getFieldName()
Get the name of the declared field.
|
Project |
getProject()
Get the project containing the source file this declaration appears in.
|
int |
getStartOffset()
Get the start offset of the declaration in the source file.
|
java.net.URL |
getURL()
Get the URL containing this declaration, if there is one.
|
Workspace |
getWorkspace()
Get the workspace containing the source file this declaration appears in.
|
void |
show()
Show this declaration to the user.
|
canDelete, delete, equals, findDeclaration, getDeclarationId, hashCode
clone, getClass, notify, notifyAll, toString, wait, wait, wait
canDelete, delete
public FieldDeclaration(java.lang.String id, Workspace workspace, Project project, SourceElement element, java.lang.String fqClassName, java.lang.String fieldName)
public java.lang.String getClassName()
public java.lang.String getFieldName()
public Workspace getWorkspace()
SourceDeclaration
getWorkspace
in interface SourceDeclaration
public Project getProject()
SourceDeclaration
getProject
in interface SourceDeclaration
public java.net.URL getURL()
Declaration
getURL
in interface Declaration
public int getStartOffset()
SourceDeclaration
getStartOffset
in interface SourceDeclaration
public int getEndOffset()
SourceDeclaration
getEndOffset
in interface SourceDeclaration
public void finalize()
finalize
in class java.lang.Object
public void show()
Declaration
show
in interface Declaration