private boolean isErrorType(IType rootType) { return rootType instanceof IErrorType || (rootType instanceof IMetaType && ((IMetaType) rootType).getType() instanceof IErrorType); }
type = getParentPackageType( ((ITypeLiteralExpression)exprAtCaret).getType().getRelativeName(), sbFilter );
type = getParentPackageType( ((ITypeLiteralExpression)exprAtCaret).getType().getRelativeName(), sbFilter );
public IType maybeUnwrapMetaType( IType rootType ) { if( rootType instanceof IMetaType ) { rootType = ((IMetaType)rootType).getType(); } return rootType; }
private boolean isErrorType(IType rootType) { return rootType instanceof IErrorType || (rootType instanceof IMetaType && ((IMetaType) rootType).getType() instanceof IErrorType); }
public IType maybeUnwrapMetaType( IType rootType ) { if( rootType instanceof IMetaType ) { rootType = ((IMetaType)rootType).getType(); } return rootType; }
private static boolean isErrant( ITypeLiteralExpression typeLiteral ) { IType type = typeLiteral.getType(); return ((type instanceof IMetaType) && (((IMetaType)type).getType() instanceof IErrorType)); } }
public Object getValue( Object ctx ) { return MetaTypeTypeInfo.this.getOwnersType().getType(); }
public Object getValue( Object ctx ) { return MetaTypeTypeInfo.this.getOwnersType().getType(); }
public MethodScore( IType receiverType, IType callsiteEnclosingType ) { _receiverType = receiverType; if( receiverType != null && callsiteEnclosingType != null ) { if( receiverType instanceof IMetaType ) { receiverType = ((IMetaType)receiverType).getType(); } _acc = FeatureManager.getAccessibilityForClass( receiverType, callsiteEnclosingType ); } else { _acc = IRelativeTypeInfo.Accessibility.NONE; } }
public Object coerceValue( IType typeToCoerceTo, Object value ) { if( value instanceof IHasJavaClass ) { return ((IHasJavaClass)value).getBackingClass(); } else { return coerceValue( typeToCoerceTo, ((IMetaType)value).getType() ); } }
public IType getFeatureType() { return MetaType.get( MetaTypeTypeInfo.this.getOwnersType().getType() ); } }