public class AccessMap extends Object
AccessChange| Constructor and Description |
|---|
AccessMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accessApplied(String key,
int oldAccess,
int newAccess)
Called when an access mapping is applied.
|
void |
addAccessChange(String line) |
void |
addAccessChange(String key,
AccessChange accessChange) |
void |
addAccessChange(String symbolString,
String accessString) |
int |
applyClassAccess(String className,
int access) |
int |
applyFieldAccess(String className,
String fieldName,
int access) |
int |
applyMethodAccess(String className,
String methodName,
String methodDesc,
int access) |
static String |
convertSymbolPattern(String s)
Convert a symbol name pattern from AT config to internal format
|
void |
loadAccessTransformer(BufferedReader reader) |
void |
loadAccessTransformer(File file) |
void |
loadAccessTransformer(String filename)
Load an access transformer into this AccessMap.
|
public void loadAccessTransformer(BufferedReader reader) throws IOException
IOExceptionpublic void loadAccessTransformer(File file) throws IOException
IOExceptionpublic void loadAccessTransformer(String filename) throws IOException
filename - Location of AT data, one of: - local filename - remote
HTTP URL - "pattern:" followed by one transformer lineIOExceptionpublic static String convertSymbolPattern(String s)
public void addAccessChange(String line)
public void addAccessChange(String key, AccessChange accessChange)
public int applyClassAccess(String className, int access)
public int applyMethodAccess(String className, String methodName, String methodDesc, int access)
protected void accessApplied(String key, int oldAccess, int newAccess)
key - the key which caused the mapping to be matched & appliedoldAccess - the access which was replacednewAccess - the new access which was applied by the mappingCopyright © 2012-2015. All Rights Reserved.