@Test(expected = IllegalArgumentException.class) public void testEnumWithoutValuesIsIllegal() throws Exception { new ByteBuddy().makeEnumeration(); }
public DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value) { return makeEnumeration(Arrays.asList(value)); }
ByteBuddy { public DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value) { return makeEnumeration(Arrays.asList(value)); } }
ByteBuddy { public DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value) { return makeEnumeration(Arrays.asList(value)); } ByteBuddy();  ByteBuddy(ClassFileVersion classFileVersion); protected  ByteBuddy(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        AnnotationValueFilter.Factory annotationValueFilterFactory,
                        AnnotationRetention annotationRetention,
                        Implementation.Context.Factory implementationContextFactory,
                        MethodGraph.Compiler methodGraphCompiler,
                        InstrumentedType.Factory instrumentedTypeFactory,
                        TypeValidation typeValidation,
                        VisibilityBridgeStrategy visibilityBridgeStrategy,
                        ClassWriterStrategy classWriterStrategy,
                        LatentMatcher<? super MethodDescription> ignoredMethods); }
ByteBuddy { public DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value) { return makeEnumeration(Arrays.asList(value)); } ByteBuddy();  ByteBuddy(ClassFileVersion classFileVersion); protected  ByteBuddy(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        AnnotationValueFilter.Factory annotationValueFilterFactory,
                        AnnotationRetention annotationRetention,
                        Implementation.Context.Factory implementationContextFactory,
                        MethodGraph.Compiler methodGraphCompiler,
                        InstrumentedType.Factory instrumentedTypeFactory,
                        TypeValidation typeValidation,
                        VisibilityBridgeStrategy visibilityBridgeStrategy,
                        ClassWriterStrategy classWriterStrategy,
                        LatentMatcher<? super MethodDescription> ignoredMethods); @SuppressWarnings("unchecked") DynamicType.Builder<T> subclass(Class<T> superType); @SuppressWarnings("unchecked") DynamicType.Builder<T> subclass(Class<T> superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> subclass(Type superType); DynamicType.Builder<?> subclass(Type superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> subclass(TypeDefinition superType); DynamicType.Builder<?> subclass(TypeDefinition superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> makeInterface(); @SuppressWarnings("unchecked") DynamicType.Builder<T> makeInterface(Class<T> interfaceType); DynamicType.Builder<?> makeInterface(Type... interfaceType); DynamicType.Builder<?> makeInterface(List<? extends Type> interfaceTypes); DynamicType.Builder<?> makeInterface(TypeDefinition... interfaceType); DynamicType.Builder<?> makeInterface(Collection<? extends TypeDefinition> interfaceTypes); DynamicType.Builder<?> makePackage(String name); DynamicType.Builder<?> makeRecord(); DynamicType.Builder<? extends Annotation> makeAnnotation(); DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value); DynamicType.Builder<? extends Enum<?>> makeEnumeration(Collection<? extends String> values); DynamicType.Builder<T> redefine(Class<T> type); DynamicType.Builder<T> redefine(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> redefine(TypeDescription type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(Class<T> type); DynamicType.Builder<T> rebase(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(Class<T> type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer); DynamicType.Builder<T> rebase(TypeDescription type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(TypeDescription type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer); DynamicType.Builder<?> rebase(Package aPackage, ClassFileLocator classFileLocator); DynamicType.Builder<?> rebase(PackageDescription aPackage, ClassFileLocator classFileLocator); DynamicType.Builder<T> decorate(Class<T> type); DynamicType.Builder<T> decorate(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> decorate(TypeDescription type, ClassFileLocator classFileLocator); ByteBuddy with(ClassFileVersion classFileVersion); ByteBuddy with(NamingStrategy namingStrategy); ByteBuddy with(AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy); ByteBuddy with(AnnotationValueFilter.Factory annotationValueFilterFactory); ByteBuddy with(AnnotationRetention annotationRetention); ByteBuddy with(Implementation.Context.Factory implementationContextFactory); ByteBuddy with(MethodGraph.Compiler methodGraphCompiler); ByteBuddy with(InstrumentedType.Factory instrumentedTypeFactory); ByteBuddy with(TypeValidation typeValidation); ByteBuddy with(VisibilityBridgeStrategy visibilityBridgeStrategy); ByteBuddy with(ClassWriterStrategy classWriterStrategy); ByteBuddy ignore(ElementMatcher<? super MethodDescription> ignoredMethods); ByteBuddy ignore(LatentMatcher<? super MethodDescription> ignoredMethods); }
ByteBuddy { public DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value) { return makeEnumeration(Arrays.asList(value)); } ByteBuddy();  ByteBuddy(ClassFileVersion classFileVersion); protected  ByteBuddy(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        AnnotationValueFilter.Factory annotationValueFilterFactory,
                        AnnotationRetention annotationRetention,
                        Implementation.Context.Factory implementationContextFactory,
                        MethodGraph.Compiler methodGraphCompiler,
                        InstrumentedType.Factory instrumentedTypeFactory,
                        TypeValidation typeValidation,
                        VisibilityBridgeStrategy visibilityBridgeStrategy,
                        ClassWriterStrategy classWriterStrategy,
                        LatentMatcher<? super MethodDescription> ignoredMethods); @SuppressWarnings("unchecked") DynamicType.Builder<T> subclass(Class<T> superType); @SuppressWarnings("unchecked") DynamicType.Builder<T> subclass(Class<T> superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> subclass(Type superType); DynamicType.Builder<?> subclass(Type superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> subclass(TypeDefinition superType); DynamicType.Builder<?> subclass(TypeDefinition superType, ConstructorStrategy constructorStrategy); DynamicType.Builder<?> makeInterface(); @SuppressWarnings("unchecked") DynamicType.Builder<T> makeInterface(Class<T> interfaceType); DynamicType.Builder<?> makeInterface(Type... interfaceType); DynamicType.Builder<?> makeInterface(List<? extends Type> interfaceTypes); DynamicType.Builder<?> makeInterface(TypeDefinition... interfaceType); DynamicType.Builder<?> makeInterface(Collection<? extends TypeDefinition> interfaceTypes); DynamicType.Builder<?> makePackage(String name); DynamicType.Builder<?> makeRecord(); DynamicType.Builder<? extends Annotation> makeAnnotation(); DynamicType.Builder<? extends Enum<?>> makeEnumeration(String... value); DynamicType.Builder<? extends Enum<?>> makeEnumeration(Collection<? extends String> values); DynamicType.Builder<T> redefine(Class<T> type); DynamicType.Builder<T> redefine(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> redefine(TypeDescription type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(Class<T> type); DynamicType.Builder<T> rebase(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(Class<T> type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer); DynamicType.Builder<T> rebase(TypeDescription type, ClassFileLocator classFileLocator); DynamicType.Builder<T> rebase(TypeDescription type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer); DynamicType.Builder<?> rebase(Package aPackage, ClassFileLocator classFileLocator); DynamicType.Builder<?> rebase(PackageDescription aPackage, ClassFileLocator classFileLocator); DynamicType.Builder<T> decorate(Class<T> type); DynamicType.Builder<T> decorate(Class<T> type, ClassFileLocator classFileLocator); DynamicType.Builder<T> decorate(TypeDescription type, ClassFileLocator classFileLocator); ByteBuddy with(ClassFileVersion classFileVersion); ByteBuddy with(NamingStrategy namingStrategy); ByteBuddy with(AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy); ByteBuddy with(AnnotationValueFilter.Factory annotationValueFilterFactory); ByteBuddy with(AnnotationRetention annotationRetention); ByteBuddy with(Implementation.Context.Factory implementationContextFactory); ByteBuddy with(MethodGraph.Compiler methodGraphCompiler); ByteBuddy with(InstrumentedType.Factory instrumentedTypeFactory); ByteBuddy with(TypeValidation typeValidation); ByteBuddy with(VisibilityBridgeStrategy visibilityBridgeStrategy); ByteBuddy with(ClassWriterStrategy classWriterStrategy); ByteBuddy ignore(ElementMatcher<? super MethodDescription> ignoredMethods); ByteBuddy ignore(LatentMatcher<? super MethodDescription> ignoredMethods);  }