Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::java::ClassNameResolver Class Reference

#include <java_name_resolver.h>

Public Member Functions

 ClassNameResolver ()
 
 ClassNameResolver ()
 
std::string GetClassName (const Descriptor *descriptor, bool immutable)
 
std::string GetClassName (const Descriptor *descriptor, bool immutable)
 
std::string GetClassName (const Descriptor *descriptor, bool immutable, bool kotlin)
 
std::string GetClassName (const EnumDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const EnumDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const EnumDescriptor *descriptor, bool immutable, bool kotlin)
 
std::string GetClassName (const FileDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const FileDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const FileDescriptor *descriptor, bool immutable, bool kotlin)
 
std::string GetClassName (const ServiceDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const ServiceDescriptor *descriptor, bool immutable)
 
std::string GetClassName (const ServiceDescriptor *descriptor, bool immutable, bool kotlin)
 
std::string GetDescriptorClassName (const FileDescriptor *file)
 
std::string GetDescriptorClassName (const FileDescriptor *file)
 
std::string GetDowngradedClassName (const Descriptor *descriptor)
 
std::string GetDowngradedFileClassName (const FileDescriptor *file)
 
std::string GetExtensionIdentifierName (const FieldDescriptor *descriptor, bool immutable)
 
std::string GetExtensionIdentifierName (const FieldDescriptor *descriptor, bool immutable)
 
std::string GetExtensionIdentifierName (const FieldDescriptor *descriptor, bool immutable, bool kotlin)
 
std::string GetFileClassName (const FileDescriptor *file, bool immutable)
 
std::string GetFileClassName (const FileDescriptor *file, bool immutable)
 
std::string GetFileClassName (const FileDescriptor *file, bool immutable, bool kotlin)
 
std::string GetFileDefaultImmutableClassName (const FileDescriptor *file)
 
std::string GetFileDefaultImmutableClassName (const FileDescriptor *file)
 
std::string GetFileImmutableClassName (const FileDescriptor *file)
 
std::string GetFileImmutableClassName (const FileDescriptor *file)
 
template<class DescriptorType >
std::string GetImmutableClassName (const DescriptorType *descriptor)
 
template<class DescriptorType >
std::string GetImmutableClassName (const DescriptorType *descriptor)
 
std::string GetJavaImmutableClassName (const Descriptor *descriptor)
 
std::string GetJavaImmutableClassName (const Descriptor *descriptor)
 
std::string GetJavaImmutableClassName (const EnumDescriptor *descriptor)
 
std::string GetJavaImmutableClassName (const EnumDescriptor *descriptor)
 
std::string GetJavaMutableClassName (const Descriptor *descriptor)
 
std::string GetJavaMutableClassName (const EnumDescriptor *descriptor)
 
std::string GetKotlinExtensionsClassName (const Descriptor *descriptor)
 
std::string GetKotlinFactoryName (const Descriptor *descriptor)
 
template<class DescriptorType >
std::string GetMutableClassName (const DescriptorType *descriptor)
 
template<class DescriptorType >
std::string GetMutableClassName (const DescriptorType *descriptor)
 
bool HasConflictingClassName (const FileDescriptor *file, const std::string &classname, NameEquality equality_mode)
 
bool HasConflictingClassName (const FileDescriptor *file, const std::string &classname, NameEquality equality_mode)
 
 ~ClassNameResolver ()
 
 ~ClassNameResolver ()
 

Private Member Functions

std::string GetClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable, bool is_own_file)
 
std::string GetClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable, bool is_own_file, bool kotlin)
 
std::string GetClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable, bool multiple_files)
 
std::string GetJavaClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable)
 
std::string GetJavaClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable)
 
std::string GetJavaClassFullName (const std::string &name_without_package, const FileDescriptor *file, bool immutable, bool kotlin)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ClassNameResolver)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ClassNameResolver)
 

Private Attributes

std::map< const FileDescriptor *, std::string > file_immutable_outer_class_names_
 

Detailed Description

Definition at line 56 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h.

Constructor & Destructor Documentation

◆ ClassNameResolver() [1/2]

google::protobuf::compiler::java::ClassNameResolver::ClassNameResolver ( )

◆ ~ClassNameResolver() [1/2]

google::protobuf::compiler::java::ClassNameResolver::~ClassNameResolver ( )

◆ ClassNameResolver() [2/2]

google::protobuf::compiler::java::ClassNameResolver::ClassNameResolver ( )

◆ ~ClassNameResolver() [2/2]

google::protobuf::compiler::java::ClassNameResolver::~ClassNameResolver ( )

Member Function Documentation

◆ GetClassFullName() [1/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable,
bool  is_own_file 
)
private

◆ GetClassFullName() [2/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable,
bool  is_own_file,
bool  kotlin 
)
private

◆ GetClassFullName() [3/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable,
bool  multiple_files 
)
private

◆ GetClassName() [1/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const Descriptor descriptor,
bool  immutable 
)

◆ GetClassName() [2/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const Descriptor descriptor,
bool  immutable 
)

◆ GetClassName() [3/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const Descriptor descriptor,
bool  immutable,
bool  kotlin 
)

◆ GetClassName() [4/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const EnumDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [5/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const EnumDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [6/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const EnumDescriptor descriptor,
bool  immutable,
bool  kotlin 
)

◆ GetClassName() [7/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const FileDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [8/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const FileDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [9/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const FileDescriptor descriptor,
bool  immutable,
bool  kotlin 
)

◆ GetClassName() [10/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const ServiceDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [11/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const ServiceDescriptor descriptor,
bool  immutable 
)

◆ GetClassName() [12/12]

std::string google::protobuf::compiler::java::ClassNameResolver::GetClassName ( const ServiceDescriptor descriptor,
bool  immutable,
bool  kotlin 
)

◆ GetDescriptorClassName() [1/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetDescriptorClassName ( const FileDescriptor file)

◆ GetDescriptorClassName() [2/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetDescriptorClassName ( const FileDescriptor file)

◆ GetDowngradedClassName()

std::string google::protobuf::compiler::java::ClassNameResolver::GetDowngradedClassName ( const Descriptor descriptor)

◆ GetDowngradedFileClassName()

std::string google::protobuf::compiler::java::ClassNameResolver::GetDowngradedFileClassName ( const FileDescriptor file)

◆ GetExtensionIdentifierName() [1/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetExtensionIdentifierName ( const FieldDescriptor descriptor,
bool  immutable 
)

◆ GetExtensionIdentifierName() [2/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetExtensionIdentifierName ( const FieldDescriptor descriptor,
bool  immutable 
)

◆ GetExtensionIdentifierName() [3/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetExtensionIdentifierName ( const FieldDescriptor descriptor,
bool  immutable,
bool  kotlin 
)

◆ GetFileClassName() [1/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileClassName ( const FileDescriptor file,
bool  immutable 
)

◆ GetFileClassName() [2/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileClassName ( const FileDescriptor file,
bool  immutable 
)

◆ GetFileClassName() [3/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileClassName ( const FileDescriptor file,
bool  immutable,
bool  kotlin 
)

◆ GetFileDefaultImmutableClassName() [1/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName ( const FileDescriptor file)

◆ GetFileDefaultImmutableClassName() [2/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName ( const FileDescriptor file)

◆ GetFileImmutableClassName() [1/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileImmutableClassName ( const FileDescriptor file)

◆ GetFileImmutableClassName() [2/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetFileImmutableClassName ( const FileDescriptor file)

◆ GetImmutableClassName() [1/2]

template<class DescriptorType >
std::string google::protobuf::compiler::java::ClassNameResolver::GetImmutableClassName ( const DescriptorType *  descriptor)
inline

◆ GetImmutableClassName() [2/2]

template<class DescriptorType >
std::string google::protobuf::compiler::java::ClassNameResolver::GetImmutableClassName ( const DescriptorType *  descriptor)
inline

◆ GetJavaClassFullName() [1/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable 
)
private

◆ GetJavaClassFullName() [2/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable 
)
private

◆ GetJavaClassFullName() [3/3]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaClassFullName ( const std::string &  name_without_package,
const FileDescriptor file,
bool  immutable,
bool  kotlin 
)
private

◆ GetJavaImmutableClassName() [1/4]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaImmutableClassName ( const Descriptor descriptor)

◆ GetJavaImmutableClassName() [2/4]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaImmutableClassName ( const Descriptor descriptor)

◆ GetJavaImmutableClassName() [3/4]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaImmutableClassName ( const EnumDescriptor descriptor)

◆ GetJavaImmutableClassName() [4/4]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaImmutableClassName ( const EnumDescriptor descriptor)

◆ GetJavaMutableClassName() [1/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaMutableClassName ( const Descriptor descriptor)

◆ GetJavaMutableClassName() [2/2]

std::string google::protobuf::compiler::java::ClassNameResolver::GetJavaMutableClassName ( const EnumDescriptor descriptor)

◆ GetKotlinExtensionsClassName()

std::string google::protobuf::compiler::java::ClassNameResolver::GetKotlinExtensionsClassName ( const Descriptor descriptor)

◆ GetKotlinFactoryName()

std::string google::protobuf::compiler::java::ClassNameResolver::GetKotlinFactoryName ( const Descriptor descriptor)

◆ GetMutableClassName() [1/2]

template<class DescriptorType >
std::string google::protobuf::compiler::java::ClassNameResolver::GetMutableClassName ( const DescriptorType *  descriptor)
inline

◆ GetMutableClassName() [2/2]

template<class DescriptorType >
std::string google::protobuf::compiler::java::ClassNameResolver::GetMutableClassName ( const DescriptorType *  descriptor)
inline

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::compiler::java::ClassNameResolver::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ClassNameResolver  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::compiler::java::ClassNameResolver::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ClassNameResolver  )
private

◆ HasConflictingClassName() [1/2]

bool google::protobuf::compiler::java::ClassNameResolver::HasConflictingClassName ( const FileDescriptor file,
const std::string &  classname,
NameEquality  equality_mode 
)

◆ HasConflictingClassName() [2/2]

bool google::protobuf::compiler::java::ClassNameResolver::HasConflictingClassName ( const FileDescriptor file,
const std::string &  classname,
NameEquality  equality_mode 
)

Member Data Documentation

◆ file_immutable_outer_class_names_

std::map< const FileDescriptor *, std::string > google::protobuf::compiler::java::ClassNameResolver::file_immutable_outer_class_names_
private

The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23