Cleanup (docs; warning)

This commit is contained in:
Roman Shevchenko
2015-06-17 13:02:10 +03:00
parent 28dee22cc7
commit 92a2c4e891
3 changed files with 9 additions and 15 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ public interface PsiExpression extends PsiAnnotationMemberValue {
@NotNull
@Override
public PsiExpression[] create(final int count) {
return count == 0 ? PsiExpression.EMPTY_ARRAY : new PsiExpression[count];
return count == 0 ? EMPTY_ARRAY : new PsiExpression[count];
}
};
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,15 +18,12 @@ package com.intellij.psi;
import org.jetbrains.annotations.Nullable;
/**
* Represents a Java <code>super</code> expression in a super method call. Note that the qualifier of
* a super constructor call is represented as a {@link PsiKeyword} rather than a <code>PsiSuperExpression</code>.
* Represents a Java {@code super} expression in a superclass member reference (but not in a super constructor call,
* where the {@code super} qualifier is represented as a {@link PsiKeyword} wrapped in a {@link PsiReferenceExpression}).
*/
public interface PsiSuperExpression extends PsiQualifiedExpression {
/**
* Returns the expression representing the class name qualifying the <code>super</code>
* expression.
*
* @return the qualifier, or null if the expression has no qualifier.
* Returns an expression representing a type name qualifying the {@code super} expression.
*/
@Override
@Nullable
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,14 +18,11 @@ package com.intellij.psi;
import org.jetbrains.annotations.Nullable;
/**
* Represents a Java <code>this</code> expression.
* Represents a Java {@code this} expression.
*/
public interface PsiThisExpression extends PsiQualifiedExpression {
/**
* Returns the expression representing the class name qualifying the <code>this</code>
* expression.
*
* @return the qualifier, or null if the expression has no qualifier.
* Returns an expression representing a type name qualifying the {@code this} expression.
*/
@Override
@Nullable