<commit_before>package com.wishtack.pysynthetic.psi;

import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiComment;
import com.intellij.psi.PsiElement;
import com.intellij.psi.stubs.IStubElementType;
import com.intellij.util.IncorrectOperationException;
import com.intellij.util.PlatformIcons;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.psi.*;
import com.jetbrains.python.psi.stubs.PyFunctionStub;
import com.jetbrains.python.psi.types.PyType;
import org.apache.commons.lang.NotImplementedException;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.swing.Icon;
import java.util.Collections;
import java.util.List;

/**
 * This class implements boring parts of PyFunction that synthetic accessors have only trivial responses for.
 *
 * @author <NAME>
 */
public abstract class AbstractAccessor extends ASTWrapperPsiElement implements PyFunction {

    AbstractAccessor(@NotNull ASTNode node) {
        super(node);
    }

    @Nullable
    @Override
    public final ASTNode getNameNode() {
        return null;
    }

    //TODO: Remove this function completely when updating for 173
    @SuppressWarnings("unused")
    @Nullable
    //Note: This function was removed between versions 172.3317.7 and 172.3317.93 of Python CE
    //@Override
    public final PyType getReturnTypeFromDocString() {
        return null;
    }

    @Nullable
    @Override
    public final String getDeprecationMessage() {
        return null;
    }

    @Nullable
    @Override
    public final Modifier getModifier() {
        return null;
    }

    @Override
    public final boolean isAsync() {
        return false;
    }

    @Override
    public final boolean isAsyncAllowed() {
        return false;
    }

    @Override
    public final boolean isGenerator() {
        return false;
    }

    @Nullable
    @Override
    public final Property getProperty() {
        return null;
    }

    @Nullable
    @Override
    public final PyAnnotation getAnnotation() {
        return null;
    }

    @NotNull
    @Override
    public final List<PyAssignmentStatement> findAttributes() {
        return Collections.emptyList();
    }

    @NotNull
    @Override<commit_msg>Implement PyAnnotationOwner.getAnnotationValue in AbstractAccessor<commit_after>package com.wishtack.pysynthetic.psi;

import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiComment;
import com.intellij.psi.PsiElement;
import com.intellij.psi.stubs.IStubElementType;
import com.intellij.util.IncorrectOperationException;
import com.intellij.util.PlatformIcons;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.psi.*;
import com.jetbrains.python.psi.stubs.PyFunctionStub;
import com.jetbrains.python.psi.types.PyType;
import org.apache.commons.lang.NotImplementedException;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.swing.Icon;
import java.util.Collections;
import java.util.List;

/**
 * This class implements boring parts of PyFunction that synthetic accessors have only trivial responses for.
 *
 * @author <NAME>
 */
public abstract class AbstractAccessor extends ASTWrapperPsiElement implements PyFunction {

    AbstractAccessor(@NotNull ASTNode node) {
        super(node);
    }

    @Nullable
    @Override
    public final ASTNode getNameNode() {
        return null;
    }

    //TODO: Remove this function completely when updating for 173
    @SuppressWarnings("unused")
    @Nullable
    //Note: This function was removed between versions 172.3317.7 and 172.3317.93 of Python CE
    //@Override
    public final PyType getReturnTypeFromDocString() {
        return null;
    }

    @Nullable
    @Override
    public final String getDeprecationMessage() {
        return null;
    }

    @Nullable
    @Override
    public final Modifier getModifier() {
        return null;
    }

    @Override
    public final boolean isAsync() {
        return false;
    }

    @Override
    public final boolean isAsyncAllowed() {
        return false;
    }

    @Override
    public final boolean isGenerator() {
        return false;
    }

    @Nullable
    @Override
    public final Property getProperty() {
        return null;
    }

    @Nullable
    @Override
    public final PyAnnotation getAnnotation() {
        return null;
    }

    @Nullable
    @Override
    public final String getAnnotationValue() {
        return null;
    }

    @NotNull
    @Override
    public final List<PyAssignmentStatement> findAttributes() {
        return Collections.emptyList();
    }

    @NotNull
    @Override
{'fraction_non_alphanumeric': 0.08319536423841059, 'fraction_numerical': 0.008278145695364239, 'mean_word_length': 3.2026086956521738, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4819570', 'n_tokens_mistral': 1406, 'n_tokens_neox': 1345, 'n_words': 348}