-
- All Known Implementing Classes:
Annotation,AnnotationAnnotationElement,AnnotationElement,AnnotationElementValue,ArrayAnnotationElement,Attribute,BooleanAnnotationElement,ByteAnnotationElement,CharAnnotationElement,ClassAnnotationElement,ClassConstant,ClassInfoElement,CodeAttribute,Constant,ConstantValueAttribute,DoubleAnnotationElement,DoubleConstant,DynamicConstant,EnumAnnotationElement,ExceptionsAttribute,FieldRefConstant,FloatAnnotationElement,FloatConstant,IntAnnotationElement,IntegerConstant,InterfaceMethodRefConstant,InvokeDynamicConstant,LongAnnotationElement,LongConstant,MethodHandleConstant,MethodRefConstant,MethodTypeConstant,ModuleAttribute,ModuleConstant,ModuleInfoElement,NameAndTypeConstant,NameConstant,PackageConstant,PrintBuffer,PrintSeparator,RuntimeAnnotationsAttribute,RuntimeInvisibleAnnotationsAttribute,RuntimeInvisibleTypeAnnotationsAttribute,RuntimeTypeAnnotationsAttribute,RuntimeVisibleAnnotationsAttribute,RuntimeVisibleTypeAnnotationsAttribute,ShortAnnotationElement,SignatureAttribute,SourceFileAttribute,StringAnnotationElement,StringConstant,TypeAnnotation,Utf8Constant
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PrintableInterface for all kind of printable elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprint(ClassPrinter out, ClassContext context)Prints this instance.
-
-
-
Method Detail
-
print
void print(ClassPrinter out, ClassContext context) throws java.io.IOException
Prints this instance.- Parameters:
out- the ClassPrinter instance to print to.context- the context of this print invocation.- Throws:
java.io.IOException- if an I/O error occurs.
-
-