* @throws CoreException
* Thrown when the evaluation of the code template fails.
*/
- public static String getCompilationUnitContent(ICompilationUnit cu,
- String typeComment, String typeContent, String lineDelimiter)
- throws CoreException {
- return StubUtility.getCompilationUnitContent(cu, typeComment,
- typeContent, lineDelimiter);
- }
+// public static String getCompilationUnitContent(ICompilationUnit cu,
+// String typeComment, String typeContent, String lineDelimiter)
+// throws CoreException {
+// return StubUtility.getCompilationUnitContent(cu, typeComment,
+// typeContent, lineDelimiter);
+// }
/**
* Returns the content for a new type comment using the 'type comment' code
* Thrown when the evaluation of the code template fails.
* @since 3.0
*/
- public static String getFieldComment(ICompilationUnit cu, String typeName,
- String fieldName, String lineDelimiter) throws CoreException {
- return StubUtility.getFieldComment(cu, typeName, fieldName,
- lineDelimiter);
- }
+// public static String getFieldComment(ICompilationUnit cu, String typeName,
+// String fieldName, String lineDelimiter) throws CoreException {
+// return StubUtility.getFieldComment(cu, typeName, fieldName,
+// lineDelimiter);
+// }
/**
* Returns the comment for a method or constructor using the comment code
* @throws CoreException
* Thrown when the evaluation of the code template fails.
*/
- public static String getMethodBodyContent(ICompilationUnit cu,
- String declaringTypeName, String methodName, boolean isConstructor,
- String bodyStatement, String lineDelimiter) throws CoreException {
- return StubUtility.getMethodBodyContent(isConstructor, cu
- .getJavaProject(), declaringTypeName, methodName,
- bodyStatement, lineDelimiter);
- }
+// public static String getMethodBodyContent(ICompilationUnit cu,
+// String declaringTypeName, String methodName, boolean isConstructor,
+// String bodyStatement, String lineDelimiter) throws CoreException {
+// return StubUtility.getMethodBodyContent(isConstructor, cu
+// .getJavaProject(), declaringTypeName, methodName,
+// bodyStatement, lineDelimiter);
+// }
/**
* Returns the content of body for a getter method using the getter method
* Thrown when the evaluation of the code template fails.
* @since 3.0
*/
- public static String getGetterMethodBodyContent(ICompilationUnit cu,
- String declaringTypeName, String methodName, String fieldName,
- String lineDelimiter) throws CoreException {
- return StubUtility.getGetterMethodBodyContent(cu.getJavaProject(),
- declaringTypeName, methodName, fieldName, lineDelimiter);
- }
+// public static String getGetterMethodBodyContent(ICompilationUnit cu,
+// String declaringTypeName, String methodName, String fieldName,
+// String lineDelimiter) throws CoreException {
+// return StubUtility.getGetterMethodBodyContent(cu.getJavaProject(),
+// declaringTypeName, methodName, fieldName, lineDelimiter);
+// }
/**
* Returns the content of body for a setter method using the setter method
* Thrown when the evaluation of the code template fails.
* @since 3.0
*/
- public static String getSetterMethodBodyContent(ICompilationUnit cu,
- String declaringTypeName, String methodName, String fieldName,
- String paramName, String lineDelimiter) throws CoreException {
- return StubUtility.getSetterMethodBodyContent(cu.getJavaProject(),
- declaringTypeName, methodName, fieldName, paramName,
- lineDelimiter);
- }
+// public static String getSetterMethodBodyContent(ICompilationUnit cu,
+// String declaringTypeName, String methodName, String fieldName,
+// String paramName, String lineDelimiter) throws CoreException {
+// return StubUtility.getSetterMethodBodyContent(cu.getJavaProject(),
+// declaringTypeName, methodName, fieldName, paramName,
+// lineDelimiter);
+// }
/**
* Returns the comment for a getter method using the getter comment