Package org.apache.bcel.util
Class MethodHTML
java.lang.Object
org.apache.bcel.util.MethodHTML
Convert methods and fields into HTML file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AttributeHTML
private final String
private final ConstantHTML
private final PrintWriter
-
Constructor Summary
ConstructorsConstructorDescriptionMethodHTML
(String dir, String class_name, Method[] methods, Field[] fields, ConstantHTML constant_html, AttributeHTML attribute_html) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
writeField
(Field field) Print field of class.private void
writeMethod
(Method method, int method_number)
-
Field Details
-
class_name
-
file
-
constant_html
-
attribute_html
-
-
Constructor Details
-
MethodHTML
MethodHTML(String dir, String class_name, Method[] methods, Field[] fields, ConstantHTML constant_html, AttributeHTML attribute_html) throws IOException - Throws:
IOException
-
-
Method Details
-
writeField
Print field of class.- Parameters:
field
- field to print- Throws:
IOException
-
writeMethod
-