Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Sort members of a compilation unit

Instead of using a new type SortJavaElement, could't we use the ASTNodes of
type BodyDeclaration?

You could create them using AST.newXX... and use the setters on the ASTNode
to set the properties (including updated positions). You could specify that
the passed nodes contain no bodies, no initializers and are not resolvable.

Martin





Back to the top