Shoji Kuzukami created ROASTER-77:
-------------------------------------
Summary: JavaType#isLocalClass() is required to avoid some bugs
Key: ROASTER-77
URL:
https://issues.jboss.org/browse/ROASTER-77
Project: Roaster
Issue Type: Enhancement
Components: API, JDT, Tests
Affects Versions: 2.14.0.Final
Environment: Win 8.1 Pro 64bit, Java 8, Eclipse Mars
Reporter: Shoji Kuzukami
Although a local class (JSL 14.3. Local Class Declarations) is not fully supported and
located in the Roaster, the Roaster library emits a JavaType object corresponds to a local
class in some cases. To avoid these not-supported JavaType objects in my application, I
introduced an API 'JavaType#isLocalClass()'.
It's considered that the API will be required even if the local class specification is
fully supported in the Roaster. Therefore this introduction of API will not constraint the
design of future API design.
Some tests are applied on the API, then the result seems good.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)