[
https://issues.jboss.org/browse/ROASTER-109?page=com.atlassian.jira.plugi...
]
Kevin Mian Kraiker updated ROASTER-109:
---------------------------------------
Description: For some reason, when parsing a complete unit, sometimes static methods
don't have the "isStatic" reading properly... (was:
{code:java}
@Test
public void testStaticMethod() throws Exception
{
MethodSource<JavaClassSource> method =
Roaster.create(JavaClassSource.class).addMethod(
"public static void test(){}");
Assert.assertFalse(method.isStatic());
method.setSynchronized(true);
Assert.assertTrue(method.isStatic());
method.setSynchronized(false);
Assert.assertFalse(method.isStatic());
}
{code}
Fails on first assertion, static modifier isn't being parsed correctly...
)
Method static modifier not being parsed correctly
-------------------------------------------------
Key: ROASTER-109
URL:
https://issues.jboss.org/browse/ROASTER-109
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.19.0.Final
Reporter: Kevin Mian Kraiker
For some reason, when parsing a complete unit, sometimes static methods don't have
the "isStatic" reading properly...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)