Minor, delete outdated comments and refine type
This commit is contained in:
@@ -23,16 +23,10 @@ import org.jetbrains.jet.lang.types.JetType;
|
||||
import java.util.List;
|
||||
|
||||
public interface ConstructorDescriptor extends FunctionDescriptor {
|
||||
/**
|
||||
* @throws UnsupportedOperationException -- no type parameters supported for constructors
|
||||
*/
|
||||
@NotNull
|
||||
@Override
|
||||
List<TypeParameterDescriptor> getTypeParameters();
|
||||
|
||||
/**
|
||||
* @throws UnsupportedOperationException -- return type is not stored for constructors
|
||||
*/
|
||||
@NotNull
|
||||
@Override
|
||||
JetType getReturnType();
|
||||
@@ -41,6 +35,10 @@ public interface ConstructorDescriptor extends FunctionDescriptor {
|
||||
@Override
|
||||
ClassDescriptor getContainingDeclaration();
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
ConstructorDescriptor getOriginal();
|
||||
|
||||
/**
|
||||
* @return "<init>" -- name is not stored for constructors
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user