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

The following examples show how to use org.jf.dexlib2.analysis.reflection.ReflectionClassDef. These examples are extracted from open source projects. 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 Project: ZjDroid   Source File: ClassPath.java    License: 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 Project: zjdroid   Source File: ClassPath.java    License: 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 Project: HeyGirl   Source File: ClassPath.java    License: 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 Project: ZjDroid   Source File: ClassPath.java    License: 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)));
}