你的位置:首页 > Java教程

[Java教程]Atitit org.eclipse.jdt的ast 架构 Eclipse JDT APIspec


Atitit org.eclipse.jdt 的ast 架构 Eclipse JDT API spec

 

继承树1

Expression的子类1

获取子类2

 

继承树

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 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 汉字名:艾龙,  EMAIL:1466519819@qq.com

转载请注明来源: http://www.cnblogs.com/attilax/

 

获取子类

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.jar\org\eclipse\jdt\core\dom - 解包大小为 10.5 MB