addInterface

Add a public interface class to the types of this compilation unit

Return

the newly created class

Parameters

name

the interface name


Add an interface to the types of this compilation unit

Return

the newly created class

Parameters

name

the interface name

modifiers

the modifiers (like Modifier.PUBLIC)