Class MethodDependency
java.lang.Object
org.teavm.dependency.MethodDependency
- All Implemented Interfaces:
MethodDependencyInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddLocation(CallLocation location) voidaddLocationListener(LocationListener listener) intgetVariable(int index) intbooleanisCalled()booleanbooleanisUsed()propagate(int parameterIndex, DependencyType type) propagateClass(int parameterIndex, String type) voiduse()
-
Method Details
-
getDependencyAgent
-
getVariables
- Specified by:
getVariablesin interfaceMethodDependencyInfo
-
getVariableCount
public int getVariableCount()- Specified by:
getVariableCountin interfaceMethodDependencyInfo
-
getVariable
- Specified by:
getVariablein interfaceMethodDependencyInfo
-
getParameterCount
public int getParameterCount()- Specified by:
getParameterCountin interfaceMethodDependencyInfo
-
getResult
- Specified by:
getResultin interfaceMethodDependencyInfo
-
getThrown
- Specified by:
getThrownin interfaceMethodDependencyInfo
-
getReference
- Specified by:
getReferencein interfaceMethodDependencyInfo
-
getMethod
-
isMissing
public boolean isMissing()- Specified by:
isMissingin interfaceMethodDependencyInfo
-
isUsed
public boolean isUsed()- Specified by:
isUsedin interfaceMethodDependencyInfo
-
addLocation
-
addLocationListener
-
propagate
-
propagateClass
-
propagate
-
use
public void use() -
isCalled
public boolean isCalled()- Specified by:
isCalledin interfaceMethodDependencyInfo
-