META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/apigenerator/
com/android/apigenerator/ApiClass.classApiClass.java
package com.android.apigenerator
public com.android.apigenerator.ApiClass extends com.android.apigenerator.ApiElement {
private final java.util.List mSuperClasses
private final java.util.List mInterfaces
private final java.util.Map mFields
private final java.util.Map mMethods
public void (java.lang.String, int, boolean)
String name
int version
boolean deprecated
public void addField (java.lang.String, int, boolean)
String name
int version
boolean deprecated
public void addMethod (java.lang.String, int, boolean)
String name
int version
boolean deprecated
public void addSuperClass (java.lang.String, int)
String superClass
int since
public void addInterface (java.lang.String, int)
String interfaceClass
int since
private void addToMap (java.util.Map, java.lang.String, int, boolean)
java.util.Map elements
String name
int version
boolean deprecated
com.android.apigenerator.ApiElement element
private void addToArray (java.util.Collection, java.lang.String, int)
java.util.Collection elements
String name
int version
com.android.apigenerator.ApiElement element
private com.android.apigenerator.ApiElement findByName (java.util.Collection, java.lang.String)
com.android.apigenerator.ApiElement element
java.util.Collection collection
String name
public void print (java.lang.String, com.android.apigenerator.ApiElement, java.lang.String, java.io.PrintStream)
String tag
com.android.apigenerator.ApiElement parentElement
String indent
java.io.PrintStream stream
String innerIndent
public void removeImplicitInterfaces (java.util.Map)
com.android.apigenerator.ApiClass cls
com.android.apigenerator.ApiElement superClass
com.android.apigenerator.ApiElement interfaceElement
java.util.Iterator iterator
java.util.Map allClasses
private boolean implementsInterface (com.android.apigenerator.ApiElement, java.util.Map)
com.android.apigenerator.ApiClass cls
com.android.apigenerator.ApiElement localInterface
com.android.apigenerator.ApiClass cls
com.android.apigenerator.ApiElement superClass
com.android.apigenerator.ApiElement interfaceElement
java.util.Map allClasses
public void removeOverridingMethods (java.util.Map)
java.util.Map$Entry entry
com.android.apigenerator.ApiElement method
java.util.Iterator iter
java.util.Map allClasses
private boolean isOverride (com.android.apigenerator.ApiElement, java.util.Map)
com.android.apigenerator.ApiElement method
java.util.Map allClasses
com.android.apigenerator.ApiElement localMethod
private boolean isOverrideOfInherited (com.android.apigenerator.ApiElement, java.util.Map)
com.android.apigenerator.ApiClass cls
com.android.apigenerator.ApiElement parent
com.android.apigenerator.ApiElement method
java.util.Map allClasses
public java.lang.String toString ()
}
com/android/apigenerator/ApiElement.classApiElement.java
package com.android.apigenerator
public com.android.apigenerator.ApiElement extends java.lang.Object implements java.lang.Comparable {
private final String mName
private int mSince
private int mDeprecatedIn
private int mLastPresentIn
static final boolean $assertionsDisabled
public void (java.lang.String, int, boolean)
String name
int version
boolean deprecated
public void (java.lang.String, int)
String name
int version
protected void (java.lang.String)
String name
public final java.lang.String getName ()
public final boolean introducedNotLaterThan (com.android.apigenerator.ApiElement)
com.android.apigenerator.ApiElement other
public void update (int, boolean)
int version
boolean deprecated
public void update (int)
int version
public final boolean isDeprecated ()
public void print (java.lang.String, com.android.apigenerator.ApiElement, java.lang.String, java.io.PrintStream)
String tag
com.android.apigenerator.ApiElement parentElement
String indent
java.io.PrintStream stream
protected void print (java.lang.String, boolean, com.android.apigenerator.ApiElement, java.lang.String, java.io.PrintStream)
String tag
boolean closeTag
com.android.apigenerator.ApiElement parentElement
String indent
java.io.PrintStream stream
protected void print (java.util.Collection, java.lang.String, java.lang.String, java.io.PrintStream)
com.android.apigenerator.ApiElement element
java.util.Collection elements
String tag
String indent
java.io.PrintStream stream
private java.util.List sortedList (java.util.Collection)
java.util.Collection elements
java.util.List list
protected static void printClosingTag (java.lang.String, java.lang.String, java.io.PrintStream)
String tag
String indent
java.io.PrintStream stream
protected static java.lang.String encodeAttribute (java.lang.String)
char c
int i
String attribute
StringBuilder sb
int n
public int compareTo (com.android.apigenerator.ApiElement)
com.android.apigenerator.ApiElement other
public volatile int compareTo (java.lang.Object)
static void ()
}
com/android/apigenerator/AndroidJarReader.classAndroidJarReader.java
package com.android.apigenerator
public com.android.apigenerator.AndroidJarReader extends java.lang.Object {
private final int mMinApi
private final int mCurrentApi
private final java.io.File mCurrentJar
private final java.util.List mPatterns
public void (java.util.List, int, java.io.File, int)
java.util.List patterns
int minApi
java.io.File currentJar
int currentApi
public com.android.apigenerator.Api getApi ()
Object interfaceName
boolean deprecated
org.objectweb.asm.tree.FieldNode fieldNode
Object field
boolean deprecated
org.objectweb.asm.tree.MethodNode methodNode
Object method
byte[] bytes
org.objectweb.asm.ClassReader reader
org.objectweb.asm.tree.ClassNode classNode
com.android.apigenerator.ApiClass theClass
String name
java.io.File jar
java.io.FileInputStream fis
java.util.zip.ZipInputStream zis
java.util.zip.ZipEntry entry
java.net.MalformedURLException e
java.io.FileNotFoundException e
java.io.IOException e
com.android.apigenerator.Api api
int apiLevel
private java.io.File getAndroidJarFile (int)
java.io.File f
String pattern
int apiLevel
}
com/android/apigenerator/Main.classMain.java
package com.android.apigenerator
public com.android.apigenerator.Main extends java.lang.Object {
public void ()
public static void main (java.lang.String[])
String path
String pattern
String arg
int i
String[] args
boolean error
int minApi
int currentApi
String currentCodename
java.io.File currentJar
java.util.List patterns
String outPath
com.android.apigenerator.AndroidJarReader reader
com.android.apigenerator.Api api
private static void printUsage ()
private static boolean createApiFile (java.io.File, com.android.apigenerator.Api)
boolean ok
java.io.File parentFile
Exception e
java.io.File outFile
com.android.apigenerator.Api api
java.io.PrintStream stream
}
com/android/apigenerator/Api.classApi.java
package com.android.apigenerator
public com.android.apigenerator.Api extends com.android.apigenerator.ApiElement {
private final java.util.Map mClasses
public void ()
public void print (java.io.PrintStream)
java.io.PrintStream stream
public com.android.apigenerator.ApiClass addClass (java.lang.String, int, boolean)
String name
int version
boolean deprecated
com.android.apigenerator.ApiClass classElement
public void removeImplicitInterfaces ()
com.android.apigenerator.ApiClass classElement
public void removeOverridingMethods ()
com.android.apigenerator.ApiClass classElement
}