public interface JavaParser
| Modifier and Type | Method and Description |
|---|---|
<T extends JavaSource<?>> |
create(Class<T> type)
Create a new empty
JavaSource instance. |
JavaUnit |
parseUnit(String data)
|
<T extends JavaSource<?>> T create(Class<T> type)
JavaSource instance.type - desired source typeT, null if the JavaSource type is not supported by this
JavaParser.JavaUnit parseUnit(String data)
data - to parseJavaUnit, null if the data format is not recognized by this JavaParser.Copyright © 2015 JBoss by Red Hat. All rights reserved.