Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

reflection

How to list all functions in a module?

by IT Nursery

You can use dir(module) to see all available methods/attributes. Also check out PyDocs.

Tags inspect, module, python, reflection

What are the use(s) for struct tags in Go?

by IT Nursery

A tag for a field allows you to attach meta-information to the field which can be acquired using reflection. Usually it is used … Read more

Tags go, reflection, struct, tags

How to enumerate an object’s properties in Python? [duplicate]

by IT Nursery

This question already has answers here: Is there a built-in function to print all the current properties and values of an object? (29 … Read more

Tags properties, python, reflection

How to check whether an object has certain method/property?

by IT Nursery

Using dynamic pattern perhaps? You can call any method/property using the dynamic keyword, right? How to check whether the method exist before calling … Read more

Tags .net, c, methods, properties, reflection

How to get a property value based on the name

by IT Nursery

is there a way to get the value of a property of a object based on its name? For example if I have: … Read more

Tags asp.net, c, reflection

What is the difference between JDK dynamic proxy and CGLib?

by IT Nursery

In case of the Proxy Design Pattern, What is the difference between JDK’s Dynamic Proxy and third party dynamic code generation API s … Read more

Tags cglib, dynamic-proxy, java, reflection

Retrieve only static fields declared in Java class

by IT Nursery

I have the following class: public class Test { public static int a = 0; public int b = 1; } Is it … Read more

Tags field, java, reflection, static

How To Test if Type is Primitive

by IT Nursery

I have a block of code that serializes a type into a Html tag. Type t = typeof(T); // I pass <T> in … Read more

Tags c, primitive-types, reflection

Java array reflection: isArray vs. instanceof

by IT Nursery

Is there a preference or behavior difference between using: if(obj.getClass().isArray()) {} and if(obj instanceof Object[]) {} ? Best Answer 8

Tags arrays, java, reflection

How can I get all constants of a type by reflection?

by IT Nursery

How can I get all constants of any type using reflection? Best Answer 5

Tags .net, c, constants, reflection
Older posts
Page1 Page2 … Page8 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x