public class StaticMethodImportResolver extends Object implements VariableResolver
Constructor and Description |
---|
StaticMethodImportResolver(String name,
MethodStub method) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags()
Returns the bitset of special variable flags.
|
String |
getName()
Returns the name of external variable.
|
Class |
getType()
This should return the type of the variable.
|
MethodStub |
getValue()
Returns the physical target value of the variable.
|
void |
setStaticType(Class type) |
void |
setValue(Object value)
Sets the value of the physical target value.
|
public StaticMethodImportResolver(String name, MethodStub method)
public String getName()
VariableResolver
getName
in interface VariableResolver
public Class getType()
VariableResolver
getType
in interface VariableResolver
public void setStaticType(Class type)
setStaticType
in interface VariableResolver
public int getFlags()
VariableResolver
getFlags
in interface VariableResolver
public MethodStub getValue()
VariableResolver
getValue
in interface VariableResolver
public void setValue(Object value)
VariableResolver
setValue
in interface VariableResolver
value
- The new value.Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.