Atitit org.eclipse.jdt?的ast 架構 Eclipse JDT API?spec
?
?
繼承樹Astnode》expression》methodinvokecation
?
?
Expression的子類?
[org.eclipse.jdt.core.dom.TypeLiteral
?org.eclipse.jdt.core.dom.MarkerAnnotation
?org.eclipse.jdt.core.dom.BooleanLiteral
?org.eclipse.jdt.core.dom.ConditionalExpression
?org.eclipse.jdt.core.dom.StringLiteral
?org.eclipse.jdt.core.dom.VariableDeclarationExpression
?org.eclipse.jdt.core.dom.InfixExpression
?org.eclipse.jdt.core.dom.SuperFieldAccess
?org.eclipse.jdt.core.dom.NullLiteral
?org.eclipse.jdt.core.dom.Assignment
?org.eclipse.jdt.core.dom.SingleMemberAnnotation
?org.eclipse.jdt.core.dom.ArrayInitializer
?org.eclipse.jdt.core.dom.ArrayAccess
?org.eclipse.jdt.core.dom.Name
?org.eclipse.jdt.core.dom.SuperMethodInvocation
?org.eclipse.jdt.core.dom.Expression
?org.eclipse.jdt.core.dom.CharacterLiteral
?org.eclipse.jdt.core.dom.ThisExpression
?org.eclipse.jdt.core.dom.ClassInstanceCreation
?org.eclipse.jdt.core.dom.PrefixExpression
?org.eclipse.jdt.core.dom.NormalAnnotation
?org.eclipse.jdt.core.dom.CreationReference
?org.eclipse.jdt.core.dom.TypeMethodReference
?org.eclipse.jdt.core.dom.SimpleName
?org.eclipse.jdt.core.dom.ArrayCreation
?org.eclipse.jdt.core.dom.ParenthesizedExpression
?org.eclipse.jdt.core.dom.Annotation
?org.eclipse.jdt.core.dom.MethodReference
?org.eclipse.jdt.core.dom.FieldAccess
?org.eclipse.jdt.core.dom.QualifiedName
?org.eclipse.jdt.core.dom.SuperMethodReference
?org.eclipse.jdt.core.dom.InstanceofExpression
?org.eclipse.jdt.core.dom.CastExpression
?org.eclipse.jdt.core.dom.ExpressionMethodReference
?org.eclipse.jdt.core.dom.PostfixExpression
?org.eclipse.jdt.core.dom.NumberLiteral
?org.eclipse.jdt.core.dom.MethodInvocation
?org.eclipse.jdt.core.dom.LambdaExpression]
?
?
作者::??★(attilax)>>>???綽號:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿爾 拉帕努伊 ) 漢字名:艾龍,?
?
獲取子類public static void main(String[] args) {
// t();
String s = "C:\0workspace\AtiPlatf_cms\libx\org.eclipse.jdt.core_3.10.0.v20140902-0626.jar";
Class parentClass = ASTNode.class;
parentClass=org.eclipse.jdt.core.dom.Expression.class;
List r=getSubClasses(s,parentClass);
System.out.println(r);
?
}
org.eclipse.jdt.core_3.8.3.v20130121-145325.jarorgeclipsejdtcoredom - 解包大小為 10.5 MB
?
?
?
本文摘自 :https://blog.51cto.com/a