[forge-issues] [JBoss JIRA] (ROASTER-125) Add APIs for static and member initializers
Aaron Tull (JIRA)
issues at jboss.org
Wed Mar 15 01:43:00 EDT 2017
Aaron Tull created ROASTER-125:
----------------------------------
Summary: Add APIs for static and member initializers
Key: ROASTER-125
URL: https://issues.jboss.org/browse/ROASTER-125
Project: Roaster
Issue Type: Feature Request
Reporter: Aaron Tull
There are gaps in the API JavaClassSource for finding the body of static and member initializers. For instance, the following class shows 3 code blocks which cannot be accessed from the API without delving into the AST internals.
{code:java}
public class TestSource {
static {
// ... implementation
}
private Runnable innerMember = new Runnable() {
@Override
public void run() {
// ... implementation
}
}
// class definition not found
private static Runnable nestedMember = new Runnable() {
@Override
public void run() {
// ... implementation
}
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the forge-issues
mailing list