| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private ModuleNode | |
| private final String | |
| private final boolean | |
| private final Set | |
| private final File | |
| private static final ClassNode | |
| private final Map | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | JavaStubGenerator(final File outputPath, final boolean requireSuperResolved, final boolean java5, String encoding)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private File | |
| private static String | |
| private static Iterable | |
| public void | |
| private void | |
| private void | |
| private String | |
| private String | |
| private static ClassNode | |
| public Set | |
| private boolean | |
| private static boolean | |
| private boolean | |
| private static boolean | |
| private static boolean | |
| private static void | |
| private static boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static void | |
| private static void | |
| private void | |
| private void | |
| private static void | |
| private void | |
| private void | printSpecialConstructorArgs(final PrintWriter out, final ConstructorNode ctor, final ConstructorCallExpression ctorCall)
|
| private void | |
| private void | |
| private void | |
| private static boolean | |
| private static boolean | |
| private static Parameter[] |
| constructors | back to summary |
|---|---|
| private final List<ConstructorNode> constructors | |
| currentModule | back to summary |
|---|---|
| private ModuleNode currentModule | |
| encoding | back to summary |
|---|---|
| private final String encoding | |
| java5 | back to summary |
|---|---|
| private final boolean java5 | |
| javaStubCompilationUnitSet | back to summary |
|---|---|
| private final Set<JavaFileObject> javaStubCompilationUnitSet | |
| outputPath | back to summary |
|---|---|
| private final File outputPath | |
| PACKAGE_SCOPE_TYPE | back to summary |
|---|---|
| private static final ClassNode PACKAGE_SCOPE_TYPE | |
| propertyMethods | back to summary |
|---|---|
| private final Map<String, MethodNode> propertyMethods | |
| requireSuperResolved | back to summary |
|---|---|
| private final boolean requireSuperResolved | |
| JavaStubGenerator | back to summary |
|---|---|
| public JavaStubGenerator(final File outputPath, final boolean requireSuperResolved, final boolean java5, String encoding) | |
| JavaStubGenerator | back to summary |
|---|---|
| public JavaStubGenerator(final File outputPath) | |
| clean | back to summary |
|---|---|
| public void clean() | |
| createJavaStubFile | back to summary |
|---|---|
| private File createJavaStubFile(String path) | |
| escapeSpecialChars | back to summary |
|---|---|
| private static String escapeSpecialChars(String value) | |
| findTraits | back to summary |
|---|---|
| private static Iterable | |
| generateClass | back to summary |
|---|---|
| public void generateClass(ClassNode classNode) throws FileNotFoundException | |
| generateFileStub | back to summary |
|---|---|
| private void generateFileStub(ClassNode classNode) throws FileNotFoundException | |
| generateMemStub | back to summary |
|---|---|
| private void generateMemStub(ClassNode classNode) | |
| generateStubContent | back to summary |
|---|---|
| private String generateStubContent(ClassNode classNode) | |
| getAnnotationValue | back to summary |
|---|---|
| private String getAnnotationValue(Object memberValue) | |
| getConstructorArgumentType | back to summary |
|---|---|
| private static ClassNode getConstructorArgumentType(final Expression arg, final ConstructorNode ctor) | |
| getJavaStubCompilationUnitSet | back to summary |
|---|---|
| public Set | |
| hasPackageScopeXform | back to summary |
|---|---|
| private boolean hasPackageScopeXform(final AnnotatedNode node, final PackageScopeTarget type) | |
| isAbstract | back to summary |
|---|---|
| private static boolean isAbstract(final MethodNode methodNode) | |
| isCandidateTraitMethod | back to summary |
|---|---|
| private boolean isCandidateTraitMethod(final ClassNode trait, final MethodNode traitMethod) | |
| isDefaultTraitImpl | back to summary |
|---|---|
| private static boolean isDefaultTraitImpl(final MethodNode methodNode) | |
| isInterfaceOrTrait | back to summary |
|---|---|
| private static boolean isInterfaceOrTrait(final ClassNode cn) | |
| mkdirs | back to summary |
|---|---|
| private static void mkdirs(File parent, String relativeFile) | |
| noExceptionToAvoid | back to summary |
|---|---|
| private static boolean noExceptionToAvoid(ConstructorNode fromStub, ConstructorNode fromSuper) | |
| printAnnotation | back to summary |
|---|---|
| private void printAnnotation(PrintWriter out, AnnotationNode annotation) | |
| printAnnotations | back to summary |
|---|---|
| private void printAnnotations(PrintWriter out, AnnotatedNode annotated) | |
| printClassContents | back to summary |
|---|---|
| private void printClassContents(PrintWriter out, ClassNode classNode) | |
| printConstructor | back to summary |
|---|---|
| private void printConstructor(PrintWriter out, ClassNode clazz, ConstructorNode constructorNode) | |
| printConstructors | back to summary |
|---|---|
| private void printConstructors(final PrintWriter out, final ClassNode classNode) | |
| printDefaultValue | back to summary |
|---|---|
| private void printDefaultValue(final PrintWriter out, final ClassNode type) | |
| printEnumFields | back to summary |
|---|---|
| private static void printEnumFields(final PrintWriter out, final List<FieldNode> fields) | |
| printExceptions | back to summary |
|---|---|
| private void printExceptions(PrintWriter out, ClassNode[] exceptions) | |
| printField | back to summary |
|---|---|
| private void printField(final PrintWriter out, final FieldNode field, final boolean ifaceOrTrait) | |
| printFields | back to summary |
|---|---|
| private void printFields(PrintWriter out, ClassNode classNode, boolean ifaceOrTrait) | |
| printGenericsBounds | back to summary |
|---|---|
| private void printGenericsBounds(PrintWriter out, ClassNode type, boolean skipName) | |
| printGenericsBounds | back to summary |
|---|---|
| private static void printGenericsBounds(PrintWriter out, GenericsType[] genericsTypes) | |
| printImports | back to summary |
|---|---|
| private static void printImports(PrintWriter out, ClassNode classNode) | |
| printMethod | back to summary |
|---|---|
| private void printMethod(final PrintWriter out, final ClassNode classNode, final MethodNode methodNode) | |
| printMethods | back to summary |
|---|---|
| private void printMethods(PrintWriter out, ClassNode classNode, boolean isEnum) | |
| printModifiers | back to summary |
|---|---|
| private static void printModifiers(PrintWriter out, int modifiers) | |
| printParams | back to summary |
|---|---|
| private void printParams(PrintWriter out, MethodNode methodNode) | |
| printSpecialConstructorArgs | back to summary |
|---|---|
| private void printSpecialConstructorArgs(final PrintWriter out, final ConstructorNode ctor, final ConstructorCallExpression ctorCall) | |
| printType | back to summary |
|---|---|
| private void printType(PrintWriter out, ClassNode type) | |
| printTypeName | back to summary |
|---|---|
| private void printTypeName(PrintWriter out, ClassNode type) | |
| printValue | back to summary |
|---|---|
| private void printValue(final PrintWriter out, final ClassNode type, final Expression value) | |
| sameParameterTypes | back to summary |
|---|---|
| private static boolean sameParameterTypes(final MethodNode firstMethod, final MethodNode secondMethod) | |
| sameParameterTypes | back to summary |
|---|---|
| private static boolean sameParameterTypes(final Parameter[] firstParams, final Parameter[] secondParams) | |
| selectAccessibleConstructorFromSuper | back to summary |
|---|---|
| private static Parameter[] selectAccessibleConstructorFromSuper(final ConstructorNode source) | |