Package org.teavm.dependency
Class MethodDependency
java.lang.Object
org.teavm.dependency.MethodDependency
- All Implemented Interfaces:
MethodDependencyInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddLocation
(CallLocation location) void
addLocationListener
(LocationListener listener) int
getVariable
(int index) int
boolean
isCalled()
boolean
boolean
isUsed()
propagate
(int parameterIndex, DependencyType type) void
use()
-
Method Details
-
getDependencyAgent
-
getVariables
- Specified by:
getVariables
in interfaceMethodDependencyInfo
-
getVariableCount
public int getVariableCount()- Specified by:
getVariableCount
in interfaceMethodDependencyInfo
-
getVariable
- Specified by:
getVariable
in interfaceMethodDependencyInfo
-
getParameterCount
public int getParameterCount()- Specified by:
getParameterCount
in interfaceMethodDependencyInfo
-
getResult
- Specified by:
getResult
in interfaceMethodDependencyInfo
-
getThrown
- Specified by:
getThrown
in interfaceMethodDependencyInfo
-
getReference
- Specified by:
getReference
in interfaceMethodDependencyInfo
-
getMethod
-
isMissing
public boolean isMissing()- Specified by:
isMissing
in interfaceMethodDependencyInfo
-
isUsed
public boolean isUsed()- Specified by:
isUsed
in interfaceMethodDependencyInfo
-
addLocation
-
addLocationListener
-
propagate
-
propagate
-
propagate
-
use
public void use() -
isCalled
public boolean isCalled()- Specified by:
isCalled
in interfaceMethodDependencyInfo
-