public static boolean isInternalType(Types typeUtils, TypeMirror type) {
		Element element = ((TypeElement) typeUtils.asElement(type)).getEnclosingElement();
		return element.getKind() != ElementKind.PACKAGE;
	}
public static boolean isInternalType ( Types typeUtils , TypeMirror type ) { Element element = ( ( TypeElement ) typeUtils . asElement ( type ) ) . getEnclosingElement ( ) ; return element . getKind ( ) != ElementKind . PACKAGE ; }
Test if the given type is an internal type.
@param typeUtils
@param type
@return True if the type is an internal type, false otherwise.
@author vvakame