public class StringSourceFileHandle extends Object implements ISourceFileHandle
| Constructor and Description |
|---|
StringSourceFileHandle(String typeName,
CharSequence source,
boolean isTestResource,
ClassType classType) |
StringSourceFileHandle(String typeName,
CharSequence source,
IFile strPath,
boolean isTestResource,
ClassType classType) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanAfterCompile() |
Map<String,ITypeVariableDefinition> |
getCapturedTypeVars() |
ClassType |
getClassType() |
int |
getEnd() |
ISymbolTable |
getExternalSymbols() |
IFile |
getFile() |
String |
getFileName() |
String |
getFilePath() |
String |
getNamespace() |
int |
getOffset() |
String |
getParentType() |
protected String |
getRawSource() |
String |
getRelativeName() |
ISource |
getSource() |
String |
getTypeName() |
String |
getTypeNamespace() |
ITypeUsesMap |
getTypeUsesMap() |
boolean |
isIncludeModulePath() |
boolean |
isStandardPath() |
boolean |
isTestClass() |
boolean |
isValid() |
void |
setCapturedTypeVars(Map<String,ITypeVariableDefinition> capturedTypeVars) |
void |
setEnd(int iEnd) |
void |
setExternalSymbols(ISymbolTable extSyms) |
void |
setFilePath(String filePath) |
void |
setOffset(int iOffset) |
void |
setParentType(String strEnclosingType) |
protected void |
setRawSource(CharSequence source) |
void |
setTypeUsesMap(ITypeUsesMap typeUsesMap) |
String |
toString() |
public StringSourceFileHandle(String typeName, CharSequence source, boolean isTestResource, ClassType classType)
public StringSourceFileHandle(String typeName, CharSequence source, IFile strPath, boolean isTestResource, ClassType classType)
protected String getRawSource()
protected void setRawSource(CharSequence source)
public ISource getSource()
getSource in interface ISourceFileHandlepublic String getParentType()
getParentType in interface ISourceFileHandlepublic void setParentType(String strEnclosingType)
public String getNamespace()
getNamespace in interface ISourceFileHandlepublic String getFilePath()
getFilePath in interface ISourceFileHandlepublic boolean isTestClass()
isTestClass in interface ISourceFileHandlepublic boolean isValid()
isValid in interface ISourceFileHandlepublic boolean isStandardPath()
isStandardPath in interface ISourceFileHandlepublic boolean isIncludeModulePath()
isIncludeModulePath in interface ISourceFileHandlepublic void cleanAfterCompile()
cleanAfterCompile in interface ISourceFileHandlepublic ClassType getClassType()
getClassType in interface ISourceFileHandlepublic String getTypeName()
public String getRelativeName()
getRelativeName in interface ISourceFileHandlepublic String getTypeNamespace()
getTypeNamespace in interface ISourceFileHandlepublic void setOffset(int iOffset)
setOffset in interface ISourceFileHandlepublic int getOffset()
getOffset in interface ISourceFileHandlepublic void setEnd(int iEnd)
setEnd in interface ISourceFileHandlepublic int getEnd()
getEnd in interface ISourceFileHandlepublic void setFilePath(String filePath)
public String getFileName()
getFileName in interface ISourceFileHandlepublic IFile getFile()
getFile in interface ISourceFileHandlepublic void setTypeUsesMap(ITypeUsesMap typeUsesMap)
public ITypeUsesMap getTypeUsesMap()
public void setCapturedTypeVars(Map<String,ITypeVariableDefinition> capturedTypeVars)
public Map<String,ITypeVariableDefinition> getCapturedTypeVars()
public void setExternalSymbols(ISymbolTable extSyms)
public ISymbolTable getExternalSymbols()
Copyright © 2021. All rights reserved.