org.jf.dexlib2.analysis.reflection.ReflectionClassDef Java Examples

The following examples show how to use org.jf.dexlib2.analysis.reflection.ReflectionClassDef. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClassPath.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
private static DexFile getBasicClasses() {
    // fallbacks for some special classes that we assume are present
    return new ImmutableDexFile(ImmutableSet.of(
            new ReflectionClassDef(Class.class),
            new ReflectionClassDef(Cloneable.class),
            new ReflectionClassDef(Object.class),
            new ReflectionClassDef(Serializable.class),
            new ReflectionClassDef(String.class),
            new ReflectionClassDef(Throwable.class)));
}
 
Example #2
Source File: ClassPath.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
private static DexFile getBasicClasses() {
    // fallbacks for some special classes that we assume are present
    return new ImmutableDexFile(ImmutableSet.of(
            new ReflectionClassDef(Class.class),
            new ReflectionClassDef(Cloneable.class),
            new ReflectionClassDef(Object.class),
            new ReflectionClassDef(Serializable.class),
            new ReflectionClassDef(String.class),
            new ReflectionClassDef(Throwable.class)));
}
 
Example #3
Source File: ClassPath.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
private static DexFile getBasicClasses() {
    // fallbacks for some special classes that we assume are present
    return new ImmutableDexFile(ImmutableSet.of(
            new ReflectionClassDef(Class.class),
            new ReflectionClassDef(Cloneable.class),
            new ReflectionClassDef(Object.class),
            new ReflectionClassDef(Serializable.class),
            new ReflectionClassDef(String.class),
            new ReflectionClassDef(Throwable.class)));
}
 
Example #4
Source File: ClassPath.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
private static DexFile getBasicClasses() {
    // fallbacks for some special classes that we assume are present
    return new ImmutableDexFile(ImmutableSet.of(
            new ReflectionClassDef(Class.class),
            new ReflectionClassDef(Cloneable.class),
            new ReflectionClassDef(Object.class),
            new ReflectionClassDef(Serializable.class),
            new ReflectionClassDef(String.class),
            new ReflectionClassDef(Throwable.class)));
}